﻿namespace MEF_Test.Contracts
{
    /// <summary>
    /// Creates instances of <see cref="IMediaHandler"/>.
    /// </summary>
    public interface IMediaHandlerFactory
    {
        /// <summary>
        /// Creates the specified media handler.
        /// </summary>
        /// <param name="fileHandler">The file handler.</param>
        /// <returns>An instance of an <see cref="IMediaHandler"/>.</returns>
        IMediaHandler Create(IFileHandler fileHandler);
    }
}
